package com.bjsdzk.collector.entity.yuanda;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "Device")
public class Device {
	
	private Object alias;
	private boolean autoTx;
	private String companyId;
	private long createdAt;
	private String del;
	private String deviceAddr;
	private String deviceId;
	private boolean enable;
	private String groupId;
	private Object lastPing;
	private String location;
	private String name;
	private boolean onLine;
	private int state;
	private long updatedAt;
	public Object getAlias() {
		return alias;
	}
	public void setAlias(Object alias) {
		this.alias = alias;
	}
	public boolean isAutoTx() {
		return autoTx;
	}
	public void setAutoTx(boolean autoTx) {
		this.autoTx = autoTx;
	}
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public long getCreatedAt() {
		return createdAt;
	}
	public void setCreatedAt(long createdAt) {
		this.createdAt = createdAt;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
	public String getDeviceAddr() {
		return deviceAddr;
	}
	public void setDeviceAddr(String deviceAddr) {
		this.deviceAddr = deviceAddr;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public boolean isEnable() {
		return enable;
	}
	public void setEnable(boolean enable) {
		this.enable = enable;
	}
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public Object getLastPing() {
		return lastPing;
	}
	public void setLastPing(Object lastPing) {
		this.lastPing = lastPing;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isOnLine() {
		return onLine;
	}
	public void setOnLine(boolean onLine) {
		this.onLine = onLine;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public long getUpdatedAt() {
		return updatedAt;
	}
	public void setUpdatedAt(long updatedAt) {
		this.updatedAt = updatedAt;
	}
	
    

}
